#include <allegro.h>
#include "final.h"

int main ()
{
BITMAP *Buffer;
BITMAP *menu[4];
BITMAP *level1=NULL;
BITMAP *instruction=NULL;
SAMPLE *sound;
/* General initialization function */
allegro_init();


if (install_keyboard() == -1) {
allegro_message("Error! %s", allegro_error);
return -1;
}
set_color_depth(16);
if (set_gfx_mode(GFX_AUTODETECT_WINDOWED, 800, 600, 0, 0) != 0) 
{
set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); /* here’s the command for text mode */
allegro_message("Unable to initialize video mode!\n%s\n", allegro_error);
return 1;
}

Buffer = create_bitmap(800, 600);

// LOADING IMAGES


 load (menu,instruction,level1);

int i=0;

//TOUCHES MENU


touches (Buffer,menu,instruction, level1,&i);


readkey();
destroy_bitmap(menu[0]);
destroy_bitmap(Buffer);
return 0;
}
END_OF_MAIN();


